﻿using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace OxyPlotDemo
{
    public class AngleInputViewModel : ReactiveObject
    {

        public ObservableCollection<double> Angles { get; set; }

        [Reactive] public bool IsEqualSpacingMode { get; set; } = true;
        [Reactive] public int EqualDivisions { get; set; } = 1;
        [Reactive] public double OffsetAngle { get; set; } = 0;


        [Reactive]public bool IsEqualSpacingModeVisible { get; set; }


        [Reactive] public bool IsCustomAnglesModeVisible { get; set; }


        public AngleInputViewModel()
        {
            Angles = new ObservableCollection<double> { };
            IsEqualSpacingModeVisible = true;
            IsCustomAnglesModeVisible = false;
        }

    }
}
